﻿using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class ExpressTypeService
    {
        //快递

        //新增快递
        public bool AddExpressType(ExpressType express) 
        {
            /// <summary>
            /// 新增快递
            /// </summary>
            string sql = string.Format("insert expressType values('{0}','{1}')",express.ExprName,express.ExprPic);
            return DBhelper.ex(sql);
        }
    }
}
